Total Complexity | 15 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 135 |
Lines of code | 73 |
Logical lines of code | 31 |
Comment lines | 30 |
Methods | 6 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
should_show_notice() | 61 | 4 | 13 | |
dismiss_discount_notice() | 59 | 4 | 13 | |
discount_notice() | 54 | 2 | 31 | |
is_settings_page() | 74 | 2 | 4 | |
discount_notice_script() | 67 | 2 | 7 | |
__construct() | 72 | 1 | 5 |